Use PESetSelectionFormula to change the selection formula to the formula string that you supply as a parameter. This function can be used by itself to replace a known record selection formula and also as one of a series of functions: PEGetSelectionFormula; PEGetHandleString; or PESetSelectionFormula). The series can be used in a Custom
BOOL CRPE_API PESetSelectionFormula (
short printJob,
const char FAR *formulaString );
Specifies the print job for which you want to set a new selection formula string. | |
Specifies a pointer to the null |
VB Sample Code for modifying selection formulas and group selection formulas |
Declare Function PESetSelectionFormula Lib "crpe32.dll" (ByVal printJob As Integer, ByVal FormulaString As String) As Integer
function PESetSelectionFormula (
printJob: Word;
formulaString: PChar
): Bool stdcall;
EXTERN CLOGICAL PESetSelectionFormula (CWORD, CSTRING) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |